package com.hqyj.utils;

import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @ClassName DateUtil
 * @Description TODO
 * @Author ZhuYouWan
 * @Date 2022/8/31 18:51
 * @Version 1.0
 **/
public class DateUtil {
    public static String nowDate(){
        Date date = new Date();
        SimpleDateFormat df = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
        return df.format(date);
    }
}
